import http from "../utils/http";

const searchUser = (params) => http.get("api/search/user?" + params)
const searchMaterial = (params, page = 1) => http.post(`api/search/material?page=${page}`, params)
const searchMachine = (params) => http.post("api/search/machine", params)
export { searchUser, searchMaterial, searchMachine }